package ChainOfResponsibility;

public class MidFruitSorter extends AbstractFruitSorter{

    public MidFruitSorter(int weight)
    {
        super(weight);
    }

    @Override
    protected void pushBox(String fruit) {
        fruitBox.add("水果罐头:" + fruit);
    }
}
